
$defaultFontFamily:"Microsoft YaHei", "SimHei", "Arial Unicode MS";
$defaultFontSize:14px;
$defaultColor:#333;


$sidebarActiveBgColor:#fff;

$sidebarActiveColor:#75ae32;


$buttonDefaultColor:#ffffff;
$buttonDefaultFocusColor:#ffffff;
$buttonDefaultActiveColor:#e6e6e6;
$buttonDefaultFocusBorderColor:#d6d6d6;

$buttonSuccessColor:#75ae32;
$buttonSuccessFocusColor:#5e9e17;
$buttonSuccessActiveColor:#365316;

$buttonDangerColor:#c6533b;
$buttonDangerFocusColor:#c63e21;
$buttonDangerActiveColor:#772816;

$buttonInfoColor:#4880e0;
$buttonInfoFocusColor:#276be1;
$buttonInfoActiveColor:#153875;

$buttonSuccessColor:#75ae32;
$buttonSuccessFocusColor:#5f9c18;
$buttonSuccessActiveColor:#375216;

$buttonDangerColor:#c6523b;
$buttonDangerFocusColor:#c63d22;
$buttonDangerActiveColor:#782616;

$buttonInfoColor:#497fe1;
$buttonInfoFocusColor:#286ae2;
$buttonInfoActiveColor:#153775;


$BorderRadius:3px;
$BorderColor:#d6d6d6;


/**
 * Customer UI
 */
h1{
    font-size:20px;
}
.auth-setting-header{
    margin:10px 10px 10px 20px;
    border-bottom: 1px solid #e5e5e5;
}
.shop-content{
    height:100%;
}
.cf-input{
    height:40px;
}

.cf-single-input{
    border-radius:$BorderRadius;
    height:40px;
    &:focus{
        outline: 0;
    }
    &.success{
        border-color:$buttonSuccessFocusColor;
        outline: 0;
    }
    &.error{
        border-color:$buttonDangerFocusColor;
        outline: 0;
    }
}
.cf-content{
    border:4px solid $BorderColor;
    padding:20px;
}
.cf-button{
	display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    border-radius:$BorderRadius;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 28px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: 0;
    color:#FFF;
    text-decoration:none;
    height:40px;
}
a{
    text-decoration:none;
    &:focus,&:active,&:visited,&:hover{
        text-decoration:none;
        cursor: pointer;
    }
}
.input-group-addon{
    background: #fff;
}
.cf-button-success{
    border:1px solid $buttonSuccessFocusColor;
    background-color:$buttonSuccessColor;
    &:focus,&:hover{
        background-color:$buttonSuccessFocusColor;
    }
    &.active{
        background-color:$buttonSuccessActiveColor;
    }
}
.cf-button-danger{
    border:1px solid $buttonDangerFocusColor;
    background-color:$buttonDangerColor;
    &:focus,&:hover{
        background-color:$buttonDangerFocusColor;
    }
    &.active{
        background-color:$buttonDangerActiveColor;
    }
}
.cf-button-info{
    border:1px solid $buttonInfoFocusColor;
    background-color:$buttonInfoColor;
    &:focus,&:hover{
        background-color:$buttonInfoFocusColor;
    }
    &.active{
        background-color:$buttonInfoActiveColor;
    }
}
.cf-button-default{
    border:1px solid $buttonDefaultActiveColor;
    color:#333;
    background-color:$buttonDefaultColor;
    &:focus,&:hover{
        color:#333;
        background-color:$buttonDefaultFocusColor;
        border-color: $buttonDefaultFocusBorderColor;
    }
    &.active{
        color:#333;
        background-color:$buttonDefaultActiveColor;
        border-color: $buttonDefaultFocusBorderColor;
    }
}

body{
    font-family:$defaultFontFamily;
    font-size:$defaultFontSize;
    color:$defaultColor;
    overflow-x:hidden;
    margin:0;
    padding:0;
    background-color:#f2f2f2;
}
ul,li{
    list-style:normal;
    display:block;
    padding:0;
    margin:0;
}
input,button{
    outline:none;
    &:focus{
        outline:none;
    }
}
.cf-button-success{
	border:1px solid $buttonSuccessFocusColor;
	background-color:$buttonSuccessColor;
	&:focus,&:hover{
		background-color:$buttonSuccessFocusColor;
	}
	&.active{
		background-color:$buttonSuccessActiveColor;
	}
}
.cf-button-danger{
	border:1px solid $buttonDangerFocusColor;
	background-color:$buttonDangerColor;
	&:focus,&:hover{
		background-color:$buttonDangerFocusColor;
	}
	&.active{
		background-color:$buttonDangerActiveColor;
	}
}
.cf-button-info{
	border:1px solid $buttonInfoFocusColor;
	background-color:$buttonInfoColor;
	&:focus,&:hover{
		background-color:$buttonInfoFocusColor;
	}
	&.active{
		background-color:$buttonInfoActiveColor;
	}
}
.cf-button-default{
	border:1px solid $buttonDefaultActiveColor;
	color:#333;
	background-color:$buttonDefaultColor;
	&:focus,&:hover{
		color:#333;
		background-color:$buttonDefaultFocusColor;
	}
	&.active{
		color:#333;
		background-color:$buttonDefaultActiveColor;
	}
}

body{
	font-family:$defaultFontFamily;
	font-size:$defaultFontSize;
	color:$defaultColor;
	overflow-x:hidden;
	margin:0;
	padding:0;
	background-color:#f2f2f2;
}
ul,li{
	list-style:normal;
	display:block;
	padding:0;
	margin:0;
}
input,button{
	outline:none;
	&:focus{
		outline:none;
	}
}
/**
 * overwirte bootstrap
 */
.modal-header{
    border-bottom-width:0;
    padding-bottom: 0;
    .modal-title{
        line-height: 30px;
        font-size: 18px;
    }
    img{
        max-width: 100%;
    }
}
.modal-backdrop.in{
    opacity:0;
}
.modal-content{
    position:relative;
    box-shadow:0 5px 11px rgba(0,0,0,.2);
    border:1px solid #DDD;
    border-radius:$BorderRadius;
}
.modal-sm{
    width:250px;
}
.modal-info{
    height:50px;
    width:auto;
    color:333333;
    span{
        position:absolute;
        top: 0;
        left: 0;
        display: block;
        width: 50px;
        height: 50px;
        i{
            display: block;
            width: 30px;
            height: 30px;
            border-radius:15px;
            margin:10px 10px;
            line-height: 30px;
            text-align: center;

        }
    }
    h3{
        font-size: 16px;
        line-height: 50px;
        text-align: left;
        padding-left:65px;
    }
    &.info{
        background:#FFF;
        span{
            background-color:#ededed;
            i{
                color: #ededed;
                background-color:#a5a5a5;
            }
        }
    }
    &.error{
        background:#c6523b;
        color: #fff;
        span{
            background-color:#bc4330;
            i{
                color: #bc4330;
                background-color:#fff;
            }
        }
    }
    &.success{
        background:#75ae32;
        color: #fff;
        span{
            background-color:#609f29;
            i{
                color: #609f29;
                background-color:#fff;
            }
        }
    }
}
.modal-footer{
    width: 220px;
    margin: 0 auto;
    border-top-width:0;
	border-bottom-width:0;
	padding-bottom: 10px;
	.modal-title{
		line-height: 30px;
		font-size: 18px;
	}
}
.modal-backdrop.in{
	opacity:0;
}
.modal-content{
	position:relative;
	box-shadow:0 5px 11px rgba(0,0,0,.2);
	border:1px solid #DDD;
	border-radius:$BorderRadius;
}
.modal-sm{
	width:250px;
}
.modal-info{
	height:50px;
	width:auto;
	color:333333;
	span{
		position:absolute;
		top: 0;
		left: 0;
		display: block;
		width: 50px;
		height: 50px;
		i{
			display: block;
			width: 30px;
			height: 30px;
			border-radius:15px;
			margin:10px 10px;
			line-height: 30px;
			text-align: center;
			
		}
	}
	h3{
		font-size: 16px;
		line-height: 50px;
		text-align: left;
		padding-left:65px;
	}
	&.info{
		background:#FFF;
		span{
			background-color:#ededed;
			i{
				color: #ededed;
				background-color:#a5a5a5;
			}
		}
	}
	&.error{
		background:#c6523b;
		color: #fff;
		span{
			background-color:#bc4330;
			i{
				color: #bc4330;
				background-color:#fff;
			}
		}
	}
	&.success{
		background:#75ae32;
		color: #fff;
		span{
			background-color:#609f29;
			i{
				color: #609f29;
				background-color:#fff;
			}
		}
	}
}
.modal-footer{
	width: 220px;
    margin: 0 auto;
	border-top-width:0;
}
/**
 * table
 */

.table>tbody>tr>td{
    vertical-align:middle;
}
.cf-left{
    padding-left:20px;
}
.table-padding{
    padding:10px;
    padding-left:20px;
}
button{
    outline:none;
    &:focus,&:active,&:visited,&:hover{
        outline: 0;
    }
}
button{
	outline:none;
	&:focus,&:active,&:visited,&:hover{
		outline: 0;
	}
}
.cf-navbar{
    z-index:999;
    position:fixed;
    width:100%;
    height:54px;
    top:0;
    left:0;
    background-color: #fff;
    border-bottom:2px solid #e6e6e6;
}

.rm-pl{
    padding-left:0;
}

.rm-m{
    margin-left:0;
}

.rm-mb{
    margin-bottom:0;
}
.ml-sm{
    margin-left:10px;
}
.mt-md{
    margin-top:25px;
}
.mt-md{
	margin-top:25px;
}
/**
 * container
 */
.cf-container{
    margin-top:64px;
    margin-right:5px;
    min-height: 100%;
    overflow-y:auto;
    overflow-x:hidden;
    background: #eaeaea;
    margin-left:295px;
    background:#fff;
    width: auto;
    border:1px solid #ddd;
    margin-bottom:50px;
    padding-bottom: 20px;
}
.tools-row{
   // margin:10px 0;
}



